<?php
$found = $this->container->findByController(Zend_Controller_Front::getInstance()->getRequest()->controller);
if (!$found instanceof Zend_Navigation_Page) return;

foreach ($found as $page) :
    if ($page->isVisible() && $this->navigation()->accept($page) && $this->url() != $page->getHref()) : ?>
        <a href="<?php echo $page->getHref(); ?>" class="button <?php echo $page->getClass(); ?>">
        <?php
            if (isset($page->img)) :
                echo '<img src="' . $this->imageLink($page->img['src']) . '" alt="' . (isset($page->img['alt']) ? $page->img['alt'] : '') . '" />';
            endif; ?>
            <?php echo $page->getLabel(); ?>
        </a>
<?php
    endif;
endforeach;
?>
<p class="clear" />
